package gamecenter.gc.mapper;

import gamecenter.gc.bean.Administrator;
import gamecenter.gc.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface Administrator_Mapper {
    public void register(@Param("administrator_name") String administrator_name, @Param("password") String password);
    public Administrator get_Cer_Administrator_From_Name(@Param("administrator_name") String name);
    public Administrator check_Administrator(@Param("administrator_name") String administrator_name, @Param("password") String password);
    public void modify_Administrator_Password(@Param("administrator_name") String administrator_name, @Param("password") String password);
    public void modify_Administrator_Photo(@Param("administrator_name") String administrator_name, @Param("photo") String photo);

}
